<?php
spl_autoload_register(function ($class){

    $file =  ROOT_PATH.'/'.str_replace('\\','/',$class).'.php';

    include_once $file;
});

include_once ROOT_PATH."/vendor/autoload.php";
